package com.joysuch.wwyt.common.service;

import com.joysuch.wwyt.core.bean.MailSettingBean;
import com.joysuch.wwyt.core.common.ajax.ResultBean;
import com.joysuch.wwyt.core.entity.MailSetting;
import org.springframework.data.domain.Pageable;

/**
 * @Author ZhangDong
 * @Date 2020/6/10 11:38
 */
public interface MailSettingService {

    ResultBean save(MailSettingBean bean);

    ResultBean get(Long id);

    ResultBean page(Pageable pageable);

    ResultBean delete(Long id);

    MailSetting findOne();

}
